package request

import (
	"gitee.com/cjsn/topsdk/ability254/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallSerivcecenterWorkcardInsuranceClaimRequest struct {
	/*
	   工单回传理赔信息入参     */
	WorkcardInsuranceCallbackRequest *domain.TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest `json:"workcard_insurance_callback_request" required:"true" `
}

func (s *TmallSerivcecenterWorkcardInsuranceClaimRequest) SetWorkcardInsuranceCallbackRequest(v domain.TmallSerivcecenterWorkcardInsuranceClaimWorkcardInsuranceCallbackRequest) *TmallSerivcecenterWorkcardInsuranceClaimRequest {
	s.WorkcardInsuranceCallbackRequest = &v
	return s
}

func (req *TmallSerivcecenterWorkcardInsuranceClaimRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.WorkcardInsuranceCallbackRequest != nil {
		paramMap["workcard_insurance_callback_request"] = util.ConvertStruct(*req.WorkcardInsuranceCallbackRequest)
	}
	return paramMap
}

func (req *TmallSerivcecenterWorkcardInsuranceClaimRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
